package com.clear.auth.domain.convert;

import com.clear.auth.domain.entity.AuthUserBO;
import com.clear.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户BO转换器
 */
@Mapper
public interface AuthUserConverter {
    AuthUserConverter INSTANCE = Mappers.getMapper(AuthUserConverter.class);


    AuthUser convertBOToEntity(AuthUserBO authUserBO);

    AuthUserBO convertEntityToBO(AuthUser userInfo);
}
